package com.moyun.finance.repository;

import com.moyun.finance.entity.Account;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AccountRepository extends JpaRepository<Account,String>, JpaSpecificationExecutor<Account> {
    List<Account> findByCompanyId(String companyId);
}
